/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */
package com.weed.table.editor;

import javax.swing.JCheckBox;
import javax.swing.JCheckBox;

/**
 *
 * @author Administrator
 */
public class BooleanEditor extends DefaultTableEditorEx {

    public BooleanEditor() {
        super(new JCheckBox());
        JCheckBox checkBox = (JCheckBox) getComponent();
        checkBox.setHorizontalAlignment(JCheckBox.CENTER);
    }
}
